package com.sgb.kjwl.di.quotedprice;

import com.sgb.kjwl.repository.TeamPriceRepertory;
import com.sgb.kjwl.repository.impl.TeamPriceRepertoryImpl;
import com.sgb.kjwl.view.ui.activity.quotedprice.QuotedPriceActivity;
import com.swgk.core.base.api.BaseApiSource;
import com.swgk.core.base.di.Activity;
import com.swgk.core.base.model.preference.BasePreferenceSource;

import dagger.Module;
import dagger.Provides;

@Module
public class QuotedPriceModule {

    private  QuotedPriceActivity quotedPriceActivity;

    public QuotedPriceModule(QuotedPriceActivity quotedPriceActivity) {
        this.quotedPriceActivity = quotedPriceActivity;
    }

    @Provides
    @Activity
    TeamPriceRepertory  provideTeamPriceRepertory(BaseApiSource apiSource, BasePreferenceSource preferenceSource) {
        return new TeamPriceRepertoryImpl(apiSource, preferenceSource);
    }


}
